package team.zero.lemon.module.workflow.dao;

import org.apache.ibatis.annotations.Param;
import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import team.zero.lemon.module.workflow.entity.FormData;

import java.util.List;

@MyBatisDao
public interface IFormDataDao extends ICrudDao<FormData> {
    void deleteByInstanceId(@Param("instanceId") Integer instanceId,@Param("formName")String formName);

    List<FormData> findbyInstanceId(@Param("instanceId") Integer instanceId);
}